
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="X-UA-Compatible" content="edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>云端智慧景区大数据中心</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script src="./bigdata/lib/jquery.min.js"></script>
    <script type="text/javascript" src="./bigdata/lib/jquery.nicescroll.js"></script>
    <link rel="stylesheet" type="text/css" href="./bigdata/css/common.css">

    <style>
        body {
            overflow-y: hidden;
        }
    </style>
</head>

<body>


    <!--左侧固定区域-->
    <div class="win-left-fixed" id="win-left">
        <div class="nlist">
            <li class="current" url="./bigdata/main.html">
                <div class="ico na1 n1"></div>
                <div class="ico na2 n2"></div>
                <div class="txt">首页</div>
            </li>
            <li url="./bigdata/keliu-reli.html">
                <div class="ico nb1 n1"></div>
                <div class="ico nb2 n2"></div>
                <div class="txt">景区客流分析</div>
            </li>
            <li url="./bigdata/youke-huaxiang.html">
                <div class="ico nc1 n1"></div>
                <div class="ico nc2 n2"></div>
                <div class="txt">游客画像分析</div>
            </li>
            <li url="./bigdata/jingying-yingshou.html">
                <div class="ico nd1 n1"></div>
                <div class="ico nd2 n2"></div>
                <div class="txt">经营分析</div>
            </li>
            <li url="./bigdata/hudong-yuyin.html">
                <div class="ico ne1 n1"></div>
                <div class="ico ne2 n2"></div>
                <div class="txt">互动体验</div>
            </li>
            <!--<li id='yuqing'>-->
            <li url="./bigdata/yuqing-koubei.html">
                <div class="ico yu1 n1"></div>
                <div class="ico yu2 n2"></div>
                <div class="txt">舆情口碑</div>
            </li>
            <li url="./bigdata/shengwulvyou.html">
                <div class="ico sheng1 n1"></div>
                <div class="ico sheng2 n2"></div>
                <div class="txt">生物旅游资源</div>
            </li>
        </div>
    </div>
    <!--左侧固定区域 end-->

    <!--头部-->
    <div class="fixed-topnav">
        <div class="user">
            <div class="name">
                <span id="nowTime"></span>
                <span>系统管理员</span><span>|</span>
                <a href="./bigdata/default/logout">退出</a></div>
        </div>
        <div class="bigt">
            <img src="./bigdata/image/sitelogo.png" alt="">
        </div>
    </div>
    <!--头部 -->
    <div class="page-main">
        <!--中间主要内容区域 iframe容器 -->
        <div class="iframe-wrap" id="center-main">
            <iframe id="cenFrame" name="iframe0" width="100%" height="100%" src="./bigdata/main.html" frameborder="0"></iframe>
        </div>
        <!--中间主要内容区域 iframe容器 end-->
    </div>


    <script type="text/javascript">
        $(function () {
            var getNowFormatDate = function () {
                function Appendzero(obj) {
                    if (obj < 10) return "0" + "" + obj;
                    else return obj;
                }

                var date = new Date();
                var seperator1 = "-";
                var seperator2 = ":";
                var month = Appendzero(date.getMonth() + 1);
                var strDate = Appendzero(date.getDate());
                var sec = Appendzero(date.getSeconds());

                var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
                    + " " + date.getHours() + seperator2 + date.getMinutes()
                    + seperator2 + sec;
                return currentdate;
            }
            var timer = setInterval(function () {
                var now = getNowFormatDate();
                $("#nowTime").text(now)
            }, 1000)
            // 需要动态计算的页面布局高度
            win_h = $(window).height();
            function pageSizecalc() {
                win_h = $(window).height() - 45;
                $('#win-left').height(win_h);
                $("#center-main").height($(window).height() - $(".fixed-topnav").height())
            }

            pageSizecalc()


            // 窗口缩放后动态调整窗口大小
            $(window).resize(function () {
                pageSizecalc()
                $('#left-menu-cont').getNiceScroll().resize();
            })
            // 左侧菜单选中变色
            $('.win-left-fixed .nlist li').on("click", function () {
                $('.win-left-fixed .nlist li').removeClass("current");
                $(this).addClass("current")
                var URL = $(this).attr('url');
                $("#cenFrame").attr('src', URL)
            })
        })
        $('#yuqing').click(function() {
            //window.open("http://yuqing.sina.com", "_blank");
        });

    </script>

</body>

</html>